You are here: Building the Model: Advanced Elements > Attributes > Attributes vs. Local Variables
Attributes are primarily useful where the value of the attribute is assigned in one logic section and evaluated in another logic section or field, perhaps at a different location. If, however, an attribute is assigned a value and evaluated within the same logic section (e.g., an operation logic), it would be more appropriate to use a local variable. Local variables act like temporary attributes and are valid only within the logic in which they are defined. See Variables for more information.